<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>instance</title>
  <script src="../vue.js"></script>
</head>
<body>
  <div id="root">
    {{title}} !!!
    <button v-on:click="$options.handleClick">click</button>
    {{info}}
    {{list}}
  </div>
  <!-- <div id="app">
    {{title}}
  </div> -->
  <script>
    var vm = new Vue({
      el: '#root',
      data: {
        title: 'hello',
        info: {
          name: 'gp22',
          num: 32
        },
        list: [
          'a',
          'b',
          'c'
        ]
      },
      handleClick: function() {
        console.log(100)
      }
    })

    // console.log(vm.$options.handleClick)

    // var vm2 = new Vue({
    //   el: '#app',
    //   data: {
    //     title: 'world'
    //   }
    // })
  </script>
</body>
</html>